#pragma once
#include "keystone.h"
#include <windows.h>
typedef ks_err(*ptr_ks_open)(ks_arch arch, int mode, ks_engine **ks);
typedef int(*ptr_ks_asm)(ks_engine *ks, const char *string, uint64_t address, unsigned char **encoding, size_t *encoding_size, size_t *stat_count);
typedef void(*ptr_ks_free)(unsigned char *p);
typedef ks_err(*ptr_ks_close)(ks_engine *ks);




class Ks
{
public:
	Ks();
	Ks(ks_arch arch, int mode);
	~Ks();
	ks_arch _arch;
	


	int _mode;
	int asm_code(char * code, unsigned char * bytes, size_t* size);
private:

};

